home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / autocn2g.zip / AUTOCON.DOC < prev    next >
Text File  |  1992-03-15  |  56KB  |  1,235 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                               A U T O C O N
  12.                                Version 2.0g
  13.                               March 15, 1992
  14.  
  15.                                     by
  16.                                Larry Weaver
  17.  
  18.  
  19.                       Copyright (c) 1989-92 Larry Weaver
  20.  
  21.                                P.O. Box 2639
  22.                          Weaverville  CA 96093-2639
  23.                            Office : (916) 623-5045
  24.                             BBS : (916) 623-4455
  25.  
  26.  
  27.  
  28.  
  29.                              _______
  30.                         ____|__     |               (tm)
  31.                      --|       |    |-------------------
  32.                        |   ____|__  |  Association of
  33.                        |  |       |_|  Shareware
  34.                        |__|   o   |    Professionals
  35.                      -----|   |   |---------------------
  36.                           |___|___|    MEMBER
  37.  
  38.  
  39.                                     AUTOCON
  40.  
  41.                                   Introduction
  42.  
  43.    Definitions:
  44.  
  45.      In order to describe AutoCon, I need to establish a couple of
  46.      definitions.  When I use the word "reconfigure", I mean the
  47.      process of updating the AUTOEXEC.BAT and CONFIG.SYS files on the
  48.      boot drive, followed by an optional reboot of the system.
  49.  
  50.      When I use the word "configuration", I am referring to an
  51.      AUTOEXEC/CONFIG combination held in a record of AutoCon's
  52.      database.  You will use AutoCon to set up these combinations, and
  53.      give each of them a familiar name.
  54.  
  55.      The ^ symbol denotes the Control key, so ^F3 means hitting the
  56.      Control and the F3 key at the same time.  Alt denotes the Alt key
  57.      (tricky, huh?), so that AltR means hitting the Alt and the R key
  58.      at the same time.  ENTER (all caps) denotes hitting the Enter key.
  59.  
  60.  
  61.    Description:
  62.  
  63.      AutoCon is essentially a database manager for your AUTOEXEC.BAT
  64.      and CONFIG.SYS files.  It enables you to keep up to fifty
  65.      different configurations, and to change easily between those
  66.      configurations.
  67.  
  68.      The first time you run AutoCon, it will create a file named
  69.      AUTOCON.DAT.  That file will contain five configuration records.
  70.      Each record will contain a copy of the AUTOEXEC.BAT and
  71.      CONFIG.SYS files from the C: drive.  The records are initially
  72.      named RECORD01 - RECORD05.  When you set up a configuration for a
  73.      specific purpose, you can change the name to reflect that purpose
  74.      (something like Win3 for a Microsoft Windows configuration, and
  75.      SDOS for a simple DOS configuration).  You can add more records by
  76.      hitting the F3 key.
  77.  
  78.      AutoCon incorporates a full-screen editor to make it easy to
  79.      change the AUTOEXEC/CONFIG records.  The editor uses Turbo
  80.      IDE/Sidekick/WS-compatible keystrokes.  If you are not familiar
  81.      with these, there is an on-line help file which details all the
  82.      keystrokes.  If you desire, you can change the editor keystrokes.
  83.      The F6 key will pop up a key editor for this purpose.
  84.  
  85.      If you don't like the built-in editor, you can configure AutoCon
  86.      to use a different one.  The ^F6 key combination will pop up a
  87.      window asking for the name of the editor you wish to run.  Since
  88.      the configurations will eventually be used as AUTOEXEC.BAT and
  89.      CONFIG.SYS files, the editor must be able to produce pure ASCII
  90.      files.  You can toggle between the internal and external editors
  91.      with the ^F6 and the ShiftF6 key combinations.
  92.      After you have established your records and names, you can
  93.      reconfigure your system by entering the name of the new
  94.      configuration on the command line.  Typing "AutoCon Win3" would
  95.      cause AutoCon to copy the AUTOEXEC and CONFIG fields of the
  96.      record named Win3 into the boot drive as AUTOEXEC.BAT and
  97.      CONFIG.SYS and optionally reboot the system.
  98.  
  99.      In the interactive mode, you can page through the records and
  100.      reconfigure (using the current on-screen configuration) with a
  101.      couple of keystrokes.
  102.  
  103.      The AutoCon package also includes a device driver which will
  104.      allow you to select different configurations during the boot
  105.      process. Using this method is optional, and you can switch
  106.      between the two methods with a couple of key strokes.
  107.  
  108.  
  109.    Why AutoCon for Configuration Control:
  110.  
  111.      Three programs were initially responsible for the creation of
  112.      AutoCon: my schematic program, my scanner program, and my
  113.      programmable logic compiler.  Each of these programs require
  114.      various device drivers, and almost 600k of memory.  When the
  115.      computer is configured to run one of the three, neither of the
  116.      other two will run; in addition, if the computer is configured the
  117.      way I like to work with it, _none_ of the three will run.  After
  118.      playing with batch files for a while, I decided to write a program
  119.      to make it easy to change configurations.
  120.  
  121.      The above scenario is responsible for the default of five records
  122.      in AutoCon.  I had a regular configuration, the three special
  123.      configurations, and one for experimentation.  After I had worked
  124.      with AutoCon for a few days, I told a few of my friends about the
  125.      program and they wanted to try it.  After some very positive
  126.      feedback, I decided to try the program out in the Shareware
  127.      community.
  128.  
  129.      An unexpected bonus of using AutoCon became evident when I
  130.      received programs with automatic installation modules -- you know,
  131.      the ones that like to mess around with your AUTOEXEC and CONFIG
  132.      files.  Since your configurations are stored in a database, a
  133.      change to the AUTOEXEC and CONFIG files doesn't cause a problem.
  134.  
  135.      I'll use Windows to demonstrate.  When I got Windows, and saw
  136.      what it was going to do to my system configuration, I used my
  137.      "Simple" configuration to reconfigure my system.  This
  138.      configuration has only the basic stuff in it (path, prompt,
  139.      files, and buffers).  I then let Windows install itself.  After
  140.      the installation was finished, I called up AutoCon and created a
  141.      new configuration containing the changes Windows had made. After
  142.      playing with Windows for a while, I went back to my favorite DOS
  143.      configuration in a matter of moments.  Now, whenever I want to
  144.      run Windows, I just type "AutoCon Win3" on the command line --
  145.      and it's up and running!
  146.                          INSTALLING AUTOCON
  147.  
  148.    New Installation:
  149.  
  150.      To do a new installation of AutoCon, you need to copy four files
  151.      (AUTOCON.EXE, AUTOCON.HLP, MENU.CTL, and MENUNUM.COM) to your
  152.      hard disk.  It doesn't really matter which subdirectory you copy
  153.      them into, as long as it's included in the PATH statement.  If
  154.      you like to have files relating to booting up (such as device
  155.      drivers) in your root directory, then MENU.CTL and MENUNUM.COM
  156.      should be placed there, otherwise all four files may be placed in
  157.      the same subdirectory.  When AutoCon is started, it will first
  158.      look in the current subdirectory for its Help and data files.  If
  159.      they are not there, then AutoCon (if you are using DOS 3.3+) will
  160.      search the subdirectory it was started from.  If they are not
  161.      _there_, then AutoCon will search the PATH.  As long as the Help
  162.      and data files are in the PATH (or in the subdirectory AutoCon
  163.      was started from - DOS 3.3+), AutoCon can be installed in any
  164.      subdirectory.
  165.  
  166.      After you have copied the files, change to the subdirectory
  167.      AUTOCON.EXE was copied to, and type "AUTOCON" ENTER.  You will now
  168.      be in the interactive mode, pointing to the name of the first
  169.      configuration.  This first configuration is a special one to
  170.      AutoCon.  Several of the default parameters are stored in this
  171.      configuration.  When you make changes to the first record, you
  172.      will be asked whether you want to copy those changes across all
  173.      the records.
  174.  
  175.    IMPORTANT:  If you are currently using a disk cache program that
  176.      buffers disk writes (P